package com.woniu.user.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Silas
 * @since 2023-02-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("yoga_charge")
public class Charge implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "charge_id", type = IdType.AUTO)
    private Integer chargeId;

    /**
     * 单号
     */
    private String no;

    /**
     * 充值人id
     */
    private Integer userId;

    /**
     * 充值时间
     */
    private LocalDateTime time;

    /**
     * 状态（支付中/已完成/已取消）
     */
    private String state;


}
